//
// Decompiled by Jadx - 375ms
//
package me.plusne.common.Json.Soul;

import java.io.Serializable;

public class JsonOnlineState implements Serializable {
    public String From;
    public String To;
    public int msgState;
    public int msgType;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonOnlineState;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonOnlineState)) {
            return false;
        }
        JsonOnlineState jsonOnlineState = (JsonOnlineState) obj;
        if (!jsonOnlineState.canEqual(this) || getMsgState() != jsonOnlineState.getMsgState() || getMsgType() != jsonOnlineState.getMsgType()) {
            return false;
        }
        String from = getFrom();
        String from2 = jsonOnlineState.getFrom();
        if (from != null ? !from.equals(from2) : from2 != null) {
            return false;
        }
        String to = getTo();
        String to2 = jsonOnlineState.getTo();
        return to != null ? to.equals(to2) : to2 == null;
    }

    public String getFrom() {
        return this.From;
    }

    public int getMsgState() {
        return this.msgState;
    }

    public int getMsgType() {
        return this.msgType;
    }

    public String getTo() {
        return this.To;
    }

    public int hashCode() {
        int msgType = getMsgType() + ((getMsgState() + 59) * 59);
        String from = getFrom();
        int hashCode = (msgType * 59) + (from == null ? 43 : from.hashCode());
        String to = getTo();
        return (hashCode * 59) + (to != null ? to.hashCode() : 43);
    }

    public void setFrom(String str) {
        this.From = str;
    }

    public void setMsgState(int i) {
        this.msgState = i;
    }

    public void setMsgType(int i) {
        this.msgType = i;
    }

    public void setTo(String str) {
        this.To = str;
    }

    public String toString() {
        return "JsonOnlineState(msgState=" + getMsgState() + ", msgType=" + getMsgType() + ", From=" + getFrom() + ", To=" + getTo() + ")";
    }
}
